/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package vn.com.pps.dao;

import java.util.List;
import vn.com.pps.entities.CreditMemo;

/**
 *
 * @author Dai
 */
public interface ICourseCreditMemoDAO {
    public int insert(CreditMemo creditMemo);
    public int update(CreditMemo creditMemo);
    public int delete(int id);
    public Page<CreditMemo> getCreditMemos(int pageNo, int pageSize, Integer id);
    public int getCreditMemoCountByCourseID(Integer id);
    public CreditMemo getCreditMemo(Integer id);
    public List<CreditMemo> getCreditMemosByCourse(int courseID);
}